package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username  string `gorm:"type:char(11);comment:'账号'"`
	Password  string `gorm:"type:char(32);comment:'密码'"`
	Avatar    string `gorm:"type:varchar(300);comment:'图片'"`
	Nickname  string `gorm:"type:varchar(10);comment:'昵称'"`
	Mobile    string `gorm:"type:char(11);comment:'手机号'"`
	Gender    string `gorm:"type:enum('男','女');comment:'性别'"`
	Birthday  string `gorm:"type:datetime(3);comment:'生日'"`
	Introduce string `gorm:"type:varchar(20);comment:'介绍'"`
}
